using Microsoft.Expression.Drawing.Core;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
namespace Microsoft.Expression.Controls
{
	internal class EllipseStrategy : ShapeStrategy
	{
		public EllipseStrategy(LayoutPath layoutPath) : base(layoutPath)
		{
		}
		protected override PathGeometry UpdateGeometry()
		{
			EllipseGeometry ellipseGeometry = new EllipseGeometry();
			ellipseGeometry.set_RadiusX(base.Size.get_Width() / 2.0);
			ellipseGeometry.set_RadiusY(base.Size.get_Height() / 2.0);
			ellipseGeometry.set_Center(new Point(base.Size.get_Width() / 2.0, base.Size.get_Height() / 2.0));
			return ellipseGeometry.AsPathGeometry();
		}
		public override IList<GeneralTransform> ComputeTransforms()
		{
			return null;
		}
	}
}
